import request from '@/utils/request.js'

// 8081
import {cosnt} from './env';
// 8080
import {thislistindo} from './env'

// let cosnt = 'https://t.api.huiweij.com/cms'
// // 8080
// let thislistindo = 'https://t.api.huiweij.com/front/api/v1'
// 获取公共信息
export function ossmessage(params){
  return request({
   url:thislistindo + '/oss/acs/info',
   method:'get',
   params
     })
}
// 获取上传信息 
export function ossuploading(params){
  return request({
   url:thislistindo + '/oss/public/upload/info',
   method:'get',
   params
     })
}

// 获取上传信息 手机端上传文件
export function ossupload(params){
  return request({
   url:thislistindo + '/oss/public/upload/info',
   method:'get',
   params
     })
}
// 解密图片
export function ossupurl(params){
  return request({
   url:thislistindo + '/oss/acs/security/access/url',
   method:'get',
   params

     })
}